package com.huluobo.document

import com.huluobo.lib_base.UIIntent
import java.io.File

/**
 *  Created by LC on 2025/5/27.
 */
sealed class DocumentIntent : UIIntent {
    data object GetDocuments : DocumentIntent()
    data class ScanLocalFiles(val file: File) : DocumentIntent()

    //上传需要使用文件名和文件路径生成一个文件
    data class UploadDocument(
        val name: String,
        val path: String,
        val type: String,
        val info: String,
        val resType: String
    ) : DocumentIntent()

    data class DeleteDocument(val id: Int) : DocumentIntent()
}